Skip to main content

Get Price Change for Token Over Time Duration

POST 

/pricechange/:tokenAddress

The duration object to calculate the price change over the timeFrame duration should be passed as an object according to https://day.js.org/docs/en/durations/creating for example duration of {days: 1} means a duration of one day

Request

Path Parameters

    tokenAddress stringrequired

    Token Contract Address

    Example: 0x495d133B938596C9984d462F007B676bDc57eCEC

Query Parameters

    apiKey stringrequired

    (Required) Your Public API key

    Example: {{publicKey}}

Body

    duration object
    days string

Responses

OK

Schema
    data object
    priceChange string
    currentPrice string
    previousPrice string
Loading...

Was this page helpful?